package com.woniuxy.java106crm.mapper;

import com.woniuxy.java106crm.entity.Order;
import com.woniuxy.java106crm.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    List<Order> findOrderByCid(String customerid);

    void deleteById(Integer id);

    boolean updateOrder(Order order);

    List<OrderDetail> findOrderDetail(Integer oid);
}
